﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using NMA.Web.Core.ResourceFactory;
using NMA.Web.Core.CustomAttributes;

namespace NMA.Web.Areas.Admin.Models
{
    #region Models

    public class LogOnModel
    {
        [Required]
        [DBLocalizedDisplayName(typeof(NMAResourceFactory), "AdminAccountLogon_GetUserNameString")]
        public string UserName { get; set; }

        [Required]
        [DataType(DataType.Password)]
        [DBLocalizedDisplayName(typeof(NMAResourceFactory), "AdminAccountLogon_GetPasswordString")]
        public string Password { get; set; }

        [DBLocalizedDisplayName(typeof(NMAResourceFactory), "AdminAccountLogon_GetRememberMeString")]
        public bool RememberMe { get; set; }
    }

    #endregion
}